﻿using Simple.EntityFramewokCore.Core.Base;

namespace Video.Domain.Users;

public class UserInfoRoleView : Entity
{
    public UserInfoRoleView()
    {
        Role = new List<Role>();       
    }


    public string? Name { get; set; }
    public string? UserName { get; set; }
    public string? Password { get; set; }
    /// <summary>
    /// 用户头像
    /// </summary>
    public string? Avatart { get; set; }
    /// <summary>
    /// 是否启用
    /// </summary>
    public bool Enable { get; set; } = true;

    public List<Role> Role { get; set; }

}
